package cn.jbt.api.admin.repository;

import cn.jbt.api.admin.entity.SysUserPost;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SysUserPostRepository extends JpaRepository<SysUserPost, Long> {

    void deleteByPostIdIn(List<Long> postIds);

    void deleteByUserId(long userId);

    void deleteByUserIdIn(List<Long> userIds);

}
